//
//  WarEntity.m
//  WHSport
//
//  Created by ccjoy-jimneylee on 15/5/14.
//  Copyright (c) 2015年 jimneylee. All rights reserved.
//

#import "WarEntity.h"

@implementation WarEntity
- (id)initWithAttributes:(NSDictionary *)attributes {
    
    self = [super init];
    if (self) {
        _accountId = attributes[@"accountId"];
        _accountName = attributes[@"accountName"];
        _count = attributes[@"count"];
        _nowcount = attributes[@"nowCount"];
        _picPath = attributes[@"picPath"];
        _publishTimeStr = attributes[@"publishTimeStr"];
        _sportEventId = attributes[@"sportEventId"];
        _sportEventName = attributes[@"sportEventName"];
        _sportsHallName = attributes[@"sportsHallName"];
        _warid = attributes[@"id"];
        _remark = attributes[@"remark"];
        _isfriend = attributes[@"friend"];
        _isApply = attributes[@"isApply"];
        _address = attributes[@"address"];
        _phone = attributes[@"phone"];
        _level = attributes[@"level"];
        _headPic = attributes[@"headPic"];
        _wheadpic = attributes[@"headpic"];
        _wnick = attributes[@"nick"];
        _userPhone = attributes[@"userPhone"];
        _status = attributes[@"status"];
        _yuezhanApplyId = attributes[@"yuezhanApplyId"];
        _yuezhanId = attributes[@"yuezhanId"];
        _isSelect = attributes[@"isSelect"];
    }
    
    return self;
}
@end
